import request from '@/utils/request'

// 查询盒状态记录列表
export function listArchiveBoxStatus(query) {
  return request({
    url: '/archive/ArchiveBoxStatus/list',
    method: 'get',
    params: query
  })
}

// 查询盒状态记录详细
export function getArchiveBoxStatus(id) {
  return request({
    url: '/archive/ArchiveBoxStatus/' + id,
    method: 'get'
  })
}

// 新增盒状态记录
export function addArchiveBoxStatus(data) {
  return request({
    url: '/archive/ArchiveBoxStatus',
    method: 'post',
    data: data
  })
}

// 修改盒状态记录
export function updateArchiveBoxStatus(data) {
  return request({
    url: '/archive/ArchiveBoxStatus',
    method: 'put',
    data: data
  })
}

// 删除盒状态记录
export function delArchiveBoxStatus(id) {
  return request({
    url: '/archive/ArchiveBoxStatus/' + id,
    method: 'delete'
  })
}
